/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.sepeveh.managed;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import org.primefaces.model.menu.DefaultMenuModel;
import org.primefaces.model.menu.MenuModel;
import pe.sepeveh.factory.MenuDaoFactory;

/**
 *
 * @author Administrador
 */

@ManagedBean
@SessionScoped
public class PrincipalBean {
    
    private MenuModel menuSeveh = new DefaultMenuModel();
    
    public PrincipalBean(){
        menuSeveh = MenuDaoFactory.buildMenu();
    }

    public MenuModel getMenuSeveh() {
        return menuSeveh;
    }
    
    
    
  
    
}
